package com.googlecode.perfectable.eventable.sourcing;

public interface Transaction {
	public class Rollback extends Exception {
		private static final long serialVersionUID = -3370764758773487264L;

	}

	void schedule(Operation operation);

	public void commit() throws Rollback;
}
